package ycl.common.models.req.base;

import io.swagger.annotations.ApiModel;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.Email;
import javax.validation.constraints.NotBlank;

/**
 * 发送邮件
 *
 * @author ycl
 * @date 2022/6/16 0016 11:19:46
 */
@Data
@ApiModel("发送邮件")
public class SendEmailReq {


	@Email
	@Schema(description = "目标邮箱")
	@NotBlank(message = "请输入邮箱")
	private String targetEmail;

	@Schema(description = "头部")
	@NotBlank(message = "请输入头部")
	private String title;

	@Schema(description = "内容")
	@NotBlank(message = "请输入内容")
	private String content;
}
